package cn.pangza.user.service;

import cn.pangza.mybatisplus.entity.PageResult;
import cn.pangza.user.dto.CreateUserDto;
import cn.pangza.user.dto.UpdateUserDto;
import cn.pangza.user.entity.UserEntity;
import cn.pangza.mybatisplus.entity.PageRequest;
import com.baomidou.mybatisplus.extension.service.IService;

public interface UserService extends IService<UserEntity> {
    void createUser(CreateUserDto createUserDto);

    void updateUser(UpdateUserDto updateUserDto);

    PageResult<UserEntity> getUserPage(PageRequest<UserEntity> pageRequest);
}
